package day10Stringdemo;

import java.util.Scanner;

public class Demo {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s1 = "abc";
        System.out.println(s1);

        String s2 = new String();
        System.out.println("0" + s2+ "!");

        String s3 = new String(s1);
        System.out.println(s3);

        char[] arr = {'a','b','c','d'};
        String s4 = new String(arr);
        System.out.println(s4);

        byte[] newArr = {65,97,48,100};
        String s5 = new String(newArr);
        System.out.println(s5);
    }
}
